let d_v = new Vue({
    el:"header",
    data:{
        user:null,
        t_arr:[],
        wb:""
    },
    created:function () {
        axios.get("/header/select").then(function (response) {
            d_v.t_arr = response.data;
        })
    },
    methods:{
        search:function () {
            if(d_v.wb==""){
                alert("请输入搜索内容!")
                return;
            }
            location.href="/index-10.html?wd="+d_v.wb;
        }
    }
})